package org.vigor.lab.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * SysConfig
 * <p>
 * </p>
 *
 * @author Vigor Yuan
 */
@Component
@ConfigurationProperties(prefix = "sys")
public class SysConfig {

    private String jwtSecret;

    private String consulHost;

    private int consulPort;

    public String getJwtSecret() {
        return jwtSecret;
    }

    public void setJwtSecret(String jwtSecret) {
        this.jwtSecret = jwtSecret;
    }

    public String getConsulHost() {
        return consulHost;
    }

    public void setConsulHost(String consulHost) {
        this.consulHost = consulHost;
    }

    public int getConsulPort() {
        return consulPort;
    }

    public void setConsulPort(int consulPort) {
        this.consulPort = consulPort;
    }
}
